package pingyin;

/**
 * Created by csmd on 2017/8/31.
 */
public class User {
    private Integer id;
    private String name;
    private String name2;

    public User(Integer id, String name, String name2) {
        this.id = id;
        this.name = name;
        this.name2 = name2;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName2() {
        return name2;
    }

    public void setName2(String name2) {
        this.name2 = name2;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", name2='" + name2 + '\'' +
                '}';
    }
}
